package com.yby.dome1;

import com.yby.dome1.Student;
import com.yby.dome1.StudentSort;

public class TestStudent {
        public static void main(String[] args) {
            Student student = new Student();
            student.setName("张三");
            student.setId("123456");
            student.setScore(25);
            Student student1 = new Student();
            student1.setName("张三");
            student1.setId("123456");
            student1.setScore(56);
            Student student2 = new Student();
            student2.setName("张三");
            student2.setId("123456");
            student2.setScore(36);
            Student[] stu = new Student[3];
            stu[0] = student;
            stu[1] = student1;
            stu[2] = student2;
            StudentSort stuSort = new StudentSort();
            stuSort.sort(stu);
        }
}